(function(){ 	
    var configMap = {
        findOrderByIdUrl:"http://192.168.1.77:8011/order/findOrderById?orderId="
    };
 	$(document).ready(function(){
        var orderId = by_util.getQueryString('orderId');
        var source = by_util.getQueryString('source');
		by_util.httpGet({
            url:configMap.findOrderByIdUrl + orderId + '&source='+source,
			callback:handleDataCallback
		});

    	function handleDataCallback(data){
    		data.code == 200? by_orderDetailController.build(data.msg): handleErrorData(data.msg);
    	};

    	function handleErrorData(data){
            alert(data);
    	};
	});

}($,window));
